/* 基础变量和重置 */
:root {
    --apple-blue: #0071e3;
    --apple-light-gray: #f5f5f7;
    --apple-dark-gray: #1d1d1f;
    --apple-border-radius: 12px;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--apple-dark-gray);
    background-color: var(--apple-light-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--apple-blue);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #004e9e;
}

img {
    max-width: 100%;
    height: auto;
}

/* 工具类 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* 响应式断点 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}